package com.xmh.reptile.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.xmh.reptile.entity.SpendingPlanEntity;

@Mapper
public interface SpendingPlanDAO {

	SpendingPlanEntity get(SpendingPlanEntity spendingPlan);

	void add(SpendingPlanEntity spendingPlan);

	void delete(SpendingPlanEntity spendingPlan);

	void update(SpendingPlanEntity spendingPlan);

	List<SpendingPlanEntity> selectList(Map<String, Object> jsonMap);

	SpendingPlanEntity getById(Integer id);

}
